<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Pos?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>

<VBox xmlns:fx="http://javafx.com/fxml" fx:controller="com.sikhyeon.datastructure.controller.QueueController" spacing="10" alignment="CENTER">
    <StackPane fx:id="messagePane" alignment="TOP_CENTER">
        <Label fx:id="messageLabel" text="" style="-fx-background-color: white; -fx-padding: 5px;"/>
    </StackPane>
    <HBox alignment="CENTER" spacing="10">
        <VBox alignment="CENTER" spacing="10">
            <Button text="Enqueue" onAction="#enqueueValue"/>
            <Button text="Dequeue" onAction="#dequeueValue"/>
            <Button text="Reset" onAction="#resetQueue"/>
            <Button text="Back" onAction="#goBack"/>
        </VBox>
    </HBox>
    <HBox fx:id="queueContainer" spacing="5" alignment="CENTER" prefHeight="200" prefWidth="600">
        <!-- Queue elements will be displayed here -->
    </HBox>
</VBox>
